<div  class="<?php echo ($this->isUserLogedIn() ? 'grid_12 alpha' : 'grid_16 alpha omega')?>" id="content">
    <form method="post" action="./photo/edit/gallery/<?php echo $_REQUEST['request']['arg'];?>/">
        <?php
        if($this->getPhotoService() != null){
            $photos = $this->photoService->getByGalleryId($_REQUEST['request']['arg']);
            if($photos != null){
                foreach ($photos as $photo){
                    ?>
        <div class="grid_12 omega alpha">
            <img src="<?php echo $photo->mini; ?>" alt=""/>
            <input type="radio" value="<?php echo $photo->id; ?>" name="selectedPhotoId"/>
        </div>
        <?php }}} ?>
        <div class="grid_12">
            <input type="submit" name="slectedPhoto" value="redaguoti">
        </div>
    </form>
</div>
